#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
int main()
{
	int n = 0, count = 0;
	scanf("%d", &n);
	if (n == 0)
	{
		printf("count=%d\n", n += 1);
	}
	while (n)
	{
		n /= 10;
		count++;
	}
	printf("count=%d\n", count);
	return 0;
}